﻿using System.Runtime.Serialization;
using CID.Domain.Development;

namespace CID.Execution.Support.Information
{
    [DataContract]
    public class ReleaseInfo
    {
        public ReleaseInfo(IRelease release)
        {
            Id = release.Id;
            Name = release.Name;
        }

        [DataMember]
        public int Id { get; set; }

        [DataMember]
        public string Name { get; set; }
    }
}
